<template>
  <div>
    <div>
     <router-link class="tab" to="/main">首页</router-link>
     <router-link class="tab" to="/classify">分类</router-link>
     <router-link class="tab" to="/order">订单</router-link>
     <router-link class="tab" to="/my">我的</router-link>
    </div>
   <h1>显示路由切换页面</h1>
    <div>
      <router-view></router-view>
    </div>
   </div>
</template>
 
<script>
export default {
  name: "",
  computed: {},
  watch: {},
  created() {},
  methods: {}
};
</script>

<style scoped>
    .tab {
      margin-right: 5px;
    } 
</style>